package com.cr.front.service.impl;

import com.cr.front.dao.mapper.TopicMapper;
import com.cr.front.pojo.query.TopicQuery;
import com.cr.front.pojo.vo.TopicVO;
import com.cr.front.service.TopicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class TopicServiceImpl implements TopicService {
    @Autowired
    private TopicMapper topicMapper;
    @Override
    public List<TopicVO> selectList(TopicQuery topicQuery) {
        return topicMapper.selectList(topicQuery);
    }
}
